package com.yidu.hbats.dao;

import com.yidu.hbats.model.AtsEmpCoach;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AtsEmpCoachMapper {
    /**
     *
     * @mbg.generated 2019-10-29
     */
    int deleteByPrimaryKey(Integer coachId);

    /**
     *
     * @mbg.generated 2019-10-29
     */
    int insert(AtsEmpCoach record);

    /**
     *
     * @mbg.generated 2019-10-29
     */
    int insertSelective(AtsEmpCoach record);

    /**
     *
     * @mbg.generated 2019-10-29
     */
    AtsEmpCoach selectByPrimaryKey(Integer coachId);

    /**
     *
     * @mbg.generated 2019-10-29
     */
    int updateByPrimaryKeySelective(AtsEmpCoach record);

    /**
     *
     * @mbg.generated 2019-10-29
     */
    int updateByPrimaryKey(AtsEmpCoach record);

    /**
     * 查询所有 带分页
     * @param atsEmpCoach
     * @return
     */
    List<AtsEmpCoach> selectAll(AtsEmpCoach atsEmpCoach);


    /**
     * 查询行数
     * @param atsEmpCoach
     * @return
     */
    int selectCount(AtsEmpCoach atsEmpCoach);

    /**
     * 查询所有 不带分页
     * @param atsEmpCoach
     * @return
     */
    List<AtsEmpCoach> findAll(AtsEmpCoach atsEmpCoach);

    /**
     * 下拉框查询所有方法
     * @return
     */
    List<AtsEmpCoach> findxiaAll();
}